# Description: 内置函数zip()快速生成字典
# Author: chengzhen
# Date: 2021/9/23 11:21 上午
# Debug the code, debug the world!

# 字典生成式，内置函数 zip()
items = ['Fruits', 'Books', 'Others']
prices = [96, 78, 85]
dic = {item.upper(): price for item, price in zip(items, prices)}
print(dic)
